package com.ruoyi.system.domain.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PmsPatientExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PmsPatientExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andPinyinFullIsNull() {
            addCriterion("pinyin_full is null");
            return (Criteria) this;
        }

        public Criteria andPinyinFullIsNotNull() {
            addCriterion("pinyin_full is not null");
            return (Criteria) this;
        }

        public Criteria andPinyinFullEqualTo(String value) {
            addCriterion("pinyin_full =", value, "pinyinFull");
            return (Criteria) this;
        }

        public Criteria andPinyinFullNotEqualTo(String value) {
            addCriterion("pinyin_full <>", value, "pinyinFull");
            return (Criteria) this;
        }

        public Criteria andPinyinFullGreaterThan(String value) {
            addCriterion("pinyin_full >", value, "pinyinFull");
            return (Criteria) this;
        }

        public Criteria andPinyinFullGreaterThanOrEqualTo(String value) {
            addCriterion("pinyin_full >=", value, "pinyinFull");
            return (Criteria) this;
        }

        public Criteria andPinyinFullLessThan(String value) {
            addCriterion("pinyin_full <", value, "pinyinFull");
            return (Criteria) this;
        }

        public Criteria andPinyinFullLessThanOrEqualTo(String value) {
            addCriterion("pinyin_full <=", value, "pinyinFull");
            return (Criteria) this;
        }

        public Criteria andPinyinFullLike(String value) {
            addCriterion("pinyin_full like", value, "pinyinFull");
            return (Criteria) this;
        }

        public Criteria andPinyinFullNotLike(String value) {
            addCriterion("pinyin_full not like", value, "pinyinFull");
            return (Criteria) this;
        }

        public Criteria andPinyinFullIn(List<String> values) {
            addCriterion("pinyin_full in", values, "pinyinFull");
            return (Criteria) this;
        }

        public Criteria andPinyinFullNotIn(List<String> values) {
            addCriterion("pinyin_full not in", values, "pinyinFull");
            return (Criteria) this;
        }

        public Criteria andPinyinFullBetween(String value1, String value2) {
            addCriterion("pinyin_full between", value1, value2, "pinyinFull");
            return (Criteria) this;
        }

        public Criteria andPinyinFullNotBetween(String value1, String value2) {
            addCriterion("pinyin_full not between", value1, value2, "pinyinFull");
            return (Criteria) this;
        }

        public Criteria andPinyinSimpleIsNull() {
            addCriterion("pinyin_simple is null");
            return (Criteria) this;
        }

        public Criteria andPinyinSimpleIsNotNull() {
            addCriterion("pinyin_simple is not null");
            return (Criteria) this;
        }

        public Criteria andPinyinSimpleEqualTo(String value) {
            addCriterion("pinyin_simple =", value, "pinyinSimple");
            return (Criteria) this;
        }

        public Criteria andPinyinSimpleNotEqualTo(String value) {
            addCriterion("pinyin_simple <>", value, "pinyinSimple");
            return (Criteria) this;
        }

        public Criteria andPinyinSimpleGreaterThan(String value) {
            addCriterion("pinyin_simple >", value, "pinyinSimple");
            return (Criteria) this;
        }

        public Criteria andPinyinSimpleGreaterThanOrEqualTo(String value) {
            addCriterion("pinyin_simple >=", value, "pinyinSimple");
            return (Criteria) this;
        }

        public Criteria andPinyinSimpleLessThan(String value) {
            addCriterion("pinyin_simple <", value, "pinyinSimple");
            return (Criteria) this;
        }

        public Criteria andPinyinSimpleLessThanOrEqualTo(String value) {
            addCriterion("pinyin_simple <=", value, "pinyinSimple");
            return (Criteria) this;
        }

        public Criteria andPinyinSimpleLike(String value) {
            addCriterion("pinyin_simple like", value, "pinyinSimple");
            return (Criteria) this;
        }

        public Criteria andPinyinSimpleNotLike(String value) {
            addCriterion("pinyin_simple not like", value, "pinyinSimple");
            return (Criteria) this;
        }

        public Criteria andPinyinSimpleIn(List<String> values) {
            addCriterion("pinyin_simple in", values, "pinyinSimple");
            return (Criteria) this;
        }

        public Criteria andPinyinSimpleNotIn(List<String> values) {
            addCriterion("pinyin_simple not in", values, "pinyinSimple");
            return (Criteria) this;
        }

        public Criteria andPinyinSimpleBetween(String value1, String value2) {
            addCriterion("pinyin_simple between", value1, value2, "pinyinSimple");
            return (Criteria) this;
        }

        public Criteria andPinyinSimpleNotBetween(String value1, String value2) {
            addCriterion("pinyin_simple not between", value1, value2, "pinyinSimple");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(Byte value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(Byte value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(Byte value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(Byte value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(Byte value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(Byte value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<Byte> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<Byte> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(Byte value1, Byte value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(Byte value1, Byte value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andAgeIsNull() {
            addCriterion("age is null");
            return (Criteria) this;
        }

        public Criteria andAgeIsNotNull() {
            addCriterion("age is not null");
            return (Criteria) this;
        }

        public Criteria andAgeEqualTo(Integer value) {
            addCriterion("age =", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotEqualTo(Integer value) {
            addCriterion("age <>", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThan(Integer value) {
            addCriterion("age >", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThanOrEqualTo(Integer value) {
            addCriterion("age >=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThan(Integer value) {
            addCriterion("age <", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThanOrEqualTo(Integer value) {
            addCriterion("age <=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeIn(List<Integer> values) {
            addCriterion("age in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotIn(List<Integer> values) {
            addCriterion("age not in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeBetween(Integer value1, Integer value2) {
            addCriterion("age between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotBetween(Integer value1, Integer value2) {
            addCriterion("age not between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNull() {
            addCriterion("id_card is null");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNotNull() {
            addCriterion("id_card is not null");
            return (Criteria) this;
        }

        public Criteria andIdCardEqualTo(String value) {
            addCriterion("id_card =", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotEqualTo(String value) {
            addCriterion("id_card <>", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThan(String value) {
            addCriterion("id_card >", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThanOrEqualTo(String value) {
            addCriterion("id_card >=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThan(String value) {
            addCriterion("id_card <", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThanOrEqualTo(String value) {
            addCriterion("id_card <=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLike(String value) {
            addCriterion("id_card like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotLike(String value) {
            addCriterion("id_card not like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardIn(List<String> values) {
            addCriterion("id_card in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotIn(List<String> values) {
            addCriterion("id_card not in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardBetween(String value1, String value2) {
            addCriterion("id_card between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotBetween(String value1, String value2) {
            addCriterion("id_card not between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andNationIsNull() {
            addCriterion("nation is null");
            return (Criteria) this;
        }

        public Criteria andNationIsNotNull() {
            addCriterion("nation is not null");
            return (Criteria) this;
        }

        public Criteria andNationEqualTo(String value) {
            addCriterion("nation =", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotEqualTo(String value) {
            addCriterion("nation <>", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationGreaterThan(String value) {
            addCriterion("nation >", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationGreaterThanOrEqualTo(String value) {
            addCriterion("nation >=", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLessThan(String value) {
            addCriterion("nation <", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLessThanOrEqualTo(String value) {
            addCriterion("nation <=", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLike(String value) {
            addCriterion("nation like", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotLike(String value) {
            addCriterion("nation not like", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationIn(List<String> values) {
            addCriterion("nation in", values, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotIn(List<String> values) {
            addCriterion("nation not in", values, "nation");
            return (Criteria) this;
        }

        public Criteria andNationBetween(String value1, String value2) {
            addCriterion("nation between", value1, value2, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotBetween(String value1, String value2) {
            addCriterion("nation not between", value1, value2, "nation");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andCreateCompanyIsNull() {
            addCriterion("create_company is null");
            return (Criteria) this;
        }

        public Criteria andCreateCompanyIsNotNull() {
            addCriterion("create_company is not null");
            return (Criteria) this;
        }

        public Criteria andCreateCompanyEqualTo(String value) {
            addCriterion("create_company =", value, "createCompany");
            return (Criteria) this;
        }

        public Criteria andCreateCompanyNotEqualTo(String value) {
            addCriterion("create_company <>", value, "createCompany");
            return (Criteria) this;
        }

        public Criteria andCreateCompanyGreaterThan(String value) {
            addCriterion("create_company >", value, "createCompany");
            return (Criteria) this;
        }

        public Criteria andCreateCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("create_company >=", value, "createCompany");
            return (Criteria) this;
        }

        public Criteria andCreateCompanyLessThan(String value) {
            addCriterion("create_company <", value, "createCompany");
            return (Criteria) this;
        }

        public Criteria andCreateCompanyLessThanOrEqualTo(String value) {
            addCriterion("create_company <=", value, "createCompany");
            return (Criteria) this;
        }

        public Criteria andCreateCompanyLike(String value) {
            addCriterion("create_company like", value, "createCompany");
            return (Criteria) this;
        }

        public Criteria andCreateCompanyNotLike(String value) {
            addCriterion("create_company not like", value, "createCompany");
            return (Criteria) this;
        }

        public Criteria andCreateCompanyIn(List<String> values) {
            addCriterion("create_company in", values, "createCompany");
            return (Criteria) this;
        }

        public Criteria andCreateCompanyNotIn(List<String> values) {
            addCriterion("create_company not in", values, "createCompany");
            return (Criteria) this;
        }

        public Criteria andCreateCompanyBetween(String value1, String value2) {
            addCriterion("create_company between", value1, value2, "createCompany");
            return (Criteria) this;
        }

        public Criteria andCreateCompanyNotBetween(String value1, String value2) {
            addCriterion("create_company not between", value1, value2, "createCompany");
            return (Criteria) this;
        }

        public Criteria andCreateAgeIsNull() {
            addCriterion("create_age is null");
            return (Criteria) this;
        }

        public Criteria andCreateAgeIsNotNull() {
            addCriterion("create_age is not null");
            return (Criteria) this;
        }

        public Criteria andCreateAgeEqualTo(Integer value) {
            addCriterion("create_age =", value, "createAge");
            return (Criteria) this;
        }

        public Criteria andCreateAgeNotEqualTo(Integer value) {
            addCriterion("create_age <>", value, "createAge");
            return (Criteria) this;
        }

        public Criteria andCreateAgeGreaterThan(Integer value) {
            addCriterion("create_age >", value, "createAge");
            return (Criteria) this;
        }

        public Criteria andCreateAgeGreaterThanOrEqualTo(Integer value) {
            addCriterion("create_age >=", value, "createAge");
            return (Criteria) this;
        }

        public Criteria andCreateAgeLessThan(Integer value) {
            addCriterion("create_age <", value, "createAge");
            return (Criteria) this;
        }

        public Criteria andCreateAgeLessThanOrEqualTo(Integer value) {
            addCriterion("create_age <=", value, "createAge");
            return (Criteria) this;
        }

        public Criteria andCreateAgeIn(List<Integer> values) {
            addCriterion("create_age in", values, "createAge");
            return (Criteria) this;
        }

        public Criteria andCreateAgeNotIn(List<Integer> values) {
            addCriterion("create_age not in", values, "createAge");
            return (Criteria) this;
        }

        public Criteria andCreateAgeBetween(Integer value1, Integer value2) {
            addCriterion("create_age between", value1, value2, "createAge");
            return (Criteria) this;
        }

        public Criteria andCreateAgeNotBetween(Integer value1, Integer value2) {
            addCriterion("create_age not between", value1, value2, "createAge");
            return (Criteria) this;
        }

        public Criteria andPostalCodeIsNull() {
            addCriterion("postal_code is null");
            return (Criteria) this;
        }

        public Criteria andPostalCodeIsNotNull() {
            addCriterion("postal_code is not null");
            return (Criteria) this;
        }

        public Criteria andPostalCodeEqualTo(String value) {
            addCriterion("postal_code =", value, "postalCode");
            return (Criteria) this;
        }

        public Criteria andPostalCodeNotEqualTo(String value) {
            addCriterion("postal_code <>", value, "postalCode");
            return (Criteria) this;
        }

        public Criteria andPostalCodeGreaterThan(String value) {
            addCriterion("postal_code >", value, "postalCode");
            return (Criteria) this;
        }

        public Criteria andPostalCodeGreaterThanOrEqualTo(String value) {
            addCriterion("postal_code >=", value, "postalCode");
            return (Criteria) this;
        }

        public Criteria andPostalCodeLessThan(String value) {
            addCriterion("postal_code <", value, "postalCode");
            return (Criteria) this;
        }

        public Criteria andPostalCodeLessThanOrEqualTo(String value) {
            addCriterion("postal_code <=", value, "postalCode");
            return (Criteria) this;
        }

        public Criteria andPostalCodeLike(String value) {
            addCriterion("postal_code like", value, "postalCode");
            return (Criteria) this;
        }

        public Criteria andPostalCodeNotLike(String value) {
            addCriterion("postal_code not like", value, "postalCode");
            return (Criteria) this;
        }

        public Criteria andPostalCodeIn(List<String> values) {
            addCriterion("postal_code in", values, "postalCode");
            return (Criteria) this;
        }

        public Criteria andPostalCodeNotIn(List<String> values) {
            addCriterion("postal_code not in", values, "postalCode");
            return (Criteria) this;
        }

        public Criteria andPostalCodeBetween(String value1, String value2) {
            addCriterion("postal_code between", value1, value2, "postalCode");
            return (Criteria) this;
        }

        public Criteria andPostalCodeNotBetween(String value1, String value2) {
            addCriterion("postal_code not between", value1, value2, "postalCode");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityIsNull() {
            addCriterion("registered_city is null");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityIsNotNull() {
            addCriterion("registered_city is not null");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityEqualTo(String value) {
            addCriterion("registered_city =", value, "registeredCity");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityNotEqualTo(String value) {
            addCriterion("registered_city <>", value, "registeredCity");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityGreaterThan(String value) {
            addCriterion("registered_city >", value, "registeredCity");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityGreaterThanOrEqualTo(String value) {
            addCriterion("registered_city >=", value, "registeredCity");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityLessThan(String value) {
            addCriterion("registered_city <", value, "registeredCity");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityLessThanOrEqualTo(String value) {
            addCriterion("registered_city <=", value, "registeredCity");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityLike(String value) {
            addCriterion("registered_city like", value, "registeredCity");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityNotLike(String value) {
            addCriterion("registered_city not like", value, "registeredCity");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityIn(List<String> values) {
            addCriterion("registered_city in", values, "registeredCity");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityNotIn(List<String> values) {
            addCriterion("registered_city not in", values, "registeredCity");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityBetween(String value1, String value2) {
            addCriterion("registered_city between", value1, value2, "registeredCity");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityNotBetween(String value1, String value2) {
            addCriterion("registered_city not between", value1, value2, "registeredCity");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityDetailIsNull() {
            addCriterion("registered_city_detail is null");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityDetailIsNotNull() {
            addCriterion("registered_city_detail is not null");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityDetailEqualTo(String value) {
            addCriterion("registered_city_detail =", value, "registeredCityDetail");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityDetailNotEqualTo(String value) {
            addCriterion("registered_city_detail <>", value, "registeredCityDetail");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityDetailGreaterThan(String value) {
            addCriterion("registered_city_detail >", value, "registeredCityDetail");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityDetailGreaterThanOrEqualTo(String value) {
            addCriterion("registered_city_detail >=", value, "registeredCityDetail");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityDetailLessThan(String value) {
            addCriterion("registered_city_detail <", value, "registeredCityDetail");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityDetailLessThanOrEqualTo(String value) {
            addCriterion("registered_city_detail <=", value, "registeredCityDetail");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityDetailLike(String value) {
            addCriterion("registered_city_detail like", value, "registeredCityDetail");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityDetailNotLike(String value) {
            addCriterion("registered_city_detail not like", value, "registeredCityDetail");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityDetailIn(List<String> values) {
            addCriterion("registered_city_detail in", values, "registeredCityDetail");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityDetailNotIn(List<String> values) {
            addCriterion("registered_city_detail not in", values, "registeredCityDetail");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityDetailBetween(String value1, String value2) {
            addCriterion("registered_city_detail between", value1, value2, "registeredCityDetail");
            return (Criteria) this;
        }

        public Criteria andRegisteredCityDetailNotBetween(String value1, String value2) {
            addCriterion("registered_city_detail not between", value1, value2, "registeredCityDetail");
            return (Criteria) this;
        }

        public Criteria andSourceIsNull() {
            addCriterion("source is null");
            return (Criteria) this;
        }

        public Criteria andSourceIsNotNull() {
            addCriterion("source is not null");
            return (Criteria) this;
        }

        public Criteria andSourceEqualTo(Integer value) {
            addCriterion("source =", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotEqualTo(Integer value) {
            addCriterion("source <>", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceGreaterThan(Integer value) {
            addCriterion("source >", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceGreaterThanOrEqualTo(Integer value) {
            addCriterion("source >=", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLessThan(Integer value) {
            addCriterion("source <", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLessThanOrEqualTo(Integer value) {
            addCriterion("source <=", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceIn(List<Integer> values) {
            addCriterion("source in", values, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotIn(List<Integer> values) {
            addCriterion("source not in", values, "source");
            return (Criteria) this;
        }

        public Criteria andSourceBetween(Integer value1, Integer value2) {
            addCriterion("source between", value1, value2, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotBetween(Integer value1, Integer value2) {
            addCriterion("source not between", value1, value2, "source");
            return (Criteria) this;
        }

        public Criteria andRegisteredProvinceIsNull() {
            addCriterion("registered_province is null");
            return (Criteria) this;
        }

        public Criteria andRegisteredProvinceIsNotNull() {
            addCriterion("registered_province is not null");
            return (Criteria) this;
        }

        public Criteria andRegisteredProvinceEqualTo(String value) {
            addCriterion("registered_province =", value, "registeredProvince");
            return (Criteria) this;
        }

        public Criteria andRegisteredProvinceNotEqualTo(String value) {
            addCriterion("registered_province <>", value, "registeredProvince");
            return (Criteria) this;
        }

        public Criteria andRegisteredProvinceGreaterThan(String value) {
            addCriterion("registered_province >", value, "registeredProvince");
            return (Criteria) this;
        }

        public Criteria andRegisteredProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("registered_province >=", value, "registeredProvince");
            return (Criteria) this;
        }

        public Criteria andRegisteredProvinceLessThan(String value) {
            addCriterion("registered_province <", value, "registeredProvince");
            return (Criteria) this;
        }

        public Criteria andRegisteredProvinceLessThanOrEqualTo(String value) {
            addCriterion("registered_province <=", value, "registeredProvince");
            return (Criteria) this;
        }

        public Criteria andRegisteredProvinceLike(String value) {
            addCriterion("registered_province like", value, "registeredProvince");
            return (Criteria) this;
        }

        public Criteria andRegisteredProvinceNotLike(String value) {
            addCriterion("registered_province not like", value, "registeredProvince");
            return (Criteria) this;
        }

        public Criteria andRegisteredProvinceIn(List<String> values) {
            addCriterion("registered_province in", values, "registeredProvince");
            return (Criteria) this;
        }

        public Criteria andRegisteredProvinceNotIn(List<String> values) {
            addCriterion("registered_province not in", values, "registeredProvince");
            return (Criteria) this;
        }

        public Criteria andRegisteredProvinceBetween(String value1, String value2) {
            addCriterion("registered_province between", value1, value2, "registeredProvince");
            return (Criteria) this;
        }

        public Criteria andRegisteredProvinceNotBetween(String value1, String value2) {
            addCriterion("registered_province not between", value1, value2, "registeredProvince");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("del_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("del_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(Byte value) {
            addCriterion("del_flag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(Byte value) {
            addCriterion("del_flag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(Byte value) {
            addCriterion("del_flag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) {
            addCriterion("del_flag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(Byte value) {
            addCriterion("del_flag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(Byte value) {
            addCriterion("del_flag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<Byte> values) {
            addCriterion("del_flag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<Byte> values) {
            addCriterion("del_flag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(Byte value1, Byte value2) {
            addCriterion("del_flag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(Byte value1, Byte value2) {
            addCriterion("del_flag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andGrbslxIsNull() {
            addCriterion("grbslx is null");
            return (Criteria) this;
        }

        public Criteria andGrbslxIsNotNull() {
            addCriterion("grbslx is not null");
            return (Criteria) this;
        }

        public Criteria andGrbslxEqualTo(String value) {
            addCriterion("grbslx =", value, "grbslx");
            return (Criteria) this;
        }

        public Criteria andGrbslxNotEqualTo(String value) {
            addCriterion("grbslx <>", value, "grbslx");
            return (Criteria) this;
        }

        public Criteria andGrbslxGreaterThan(String value) {
            addCriterion("grbslx >", value, "grbslx");
            return (Criteria) this;
        }

        public Criteria andGrbslxGreaterThanOrEqualTo(String value) {
            addCriterion("grbslx >=", value, "grbslx");
            return (Criteria) this;
        }

        public Criteria andGrbslxLessThan(String value) {
            addCriterion("grbslx <", value, "grbslx");
            return (Criteria) this;
        }

        public Criteria andGrbslxLessThanOrEqualTo(String value) {
            addCriterion("grbslx <=", value, "grbslx");
            return (Criteria) this;
        }

        public Criteria andGrbslxLike(String value) {
            addCriterion("grbslx like", value, "grbslx");
            return (Criteria) this;
        }

        public Criteria andGrbslxNotLike(String value) {
            addCriterion("grbslx not like", value, "grbslx");
            return (Criteria) this;
        }

        public Criteria andGrbslxIn(List<String> values) {
            addCriterion("grbslx in", values, "grbslx");
            return (Criteria) this;
        }

        public Criteria andGrbslxNotIn(List<String> values) {
            addCriterion("grbslx not in", values, "grbslx");
            return (Criteria) this;
        }

        public Criteria andGrbslxBetween(String value1, String value2) {
            addCriterion("grbslx between", value1, value2, "grbslx");
            return (Criteria) this;
        }

        public Criteria andGrbslxNotBetween(String value1, String value2) {
            addCriterion("grbslx not between", value1, value2, "grbslx");
            return (Criteria) this;
        }

        public Criteria andGrbsmIsNull() {
            addCriterion("grbsm is null");
            return (Criteria) this;
        }

        public Criteria andGrbsmIsNotNull() {
            addCriterion("grbsm is not null");
            return (Criteria) this;
        }

        public Criteria andGrbsmEqualTo(String value) {
            addCriterion("grbsm =", value, "grbsm");
            return (Criteria) this;
        }

        public Criteria andGrbsmNotEqualTo(String value) {
            addCriterion("grbsm <>", value, "grbsm");
            return (Criteria) this;
        }

        public Criteria andGrbsmGreaterThan(String value) {
            addCriterion("grbsm >", value, "grbsm");
            return (Criteria) this;
        }

        public Criteria andGrbsmGreaterThanOrEqualTo(String value) {
            addCriterion("grbsm >=", value, "grbsm");
            return (Criteria) this;
        }

        public Criteria andGrbsmLessThan(String value) {
            addCriterion("grbsm <", value, "grbsm");
            return (Criteria) this;
        }

        public Criteria andGrbsmLessThanOrEqualTo(String value) {
            addCriterion("grbsm <=", value, "grbsm");
            return (Criteria) this;
        }

        public Criteria andGrbsmLike(String value) {
            addCriterion("grbsm like", value, "grbsm");
            return (Criteria) this;
        }

        public Criteria andGrbsmNotLike(String value) {
            addCriterion("grbsm not like", value, "grbsm");
            return (Criteria) this;
        }

        public Criteria andGrbsmIn(List<String> values) {
            addCriterion("grbsm in", values, "grbsm");
            return (Criteria) this;
        }

        public Criteria andGrbsmNotIn(List<String> values) {
            addCriterion("grbsm not in", values, "grbsm");
            return (Criteria) this;
        }

        public Criteria andGrbsmBetween(String value1, String value2) {
            addCriterion("grbsm between", value1, value2, "grbsm");
            return (Criteria) this;
        }

        public Criteria andGrbsmNotBetween(String value1, String value2) {
            addCriterion("grbsm not between", value1, value2, "grbsm");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}